package com.atguigu.lease;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * ClassName: AdminWebApplication
 * Package: com.atguigu.lease
 * Description:
 *
 * @author: fu-wang
 * @create: 2024/9/28 16:35
 * version: 1.0
 */
//定期检查 todo @EnableScheduling(启动类添加)     @Scheduled(cron = "0 0 0 * * *")
@EnableScheduling
@SpringBootApplication
public class AdminWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminWebApplication.class,args);
    }
}
